From: Roger Pau Monné Date: Fri, 17 Aug 2018 11:59:35 +0000 (+0200) Subject: libxc: copy back the result of XEN_DOMCTL_createdomain X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3451 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=effed864104ad9bee3f72a2a7d9fb2146b8bf122;p=xen.git libxc: copy back the result of XEN_DOMCTL_createdomain Fixes the ARM guest boot breakage introduced by 54ed251dc7. Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper Acked-by: Wei Liu --- diff --git a/tools/libxc/xc_domain.c b/tools/libxc/xc_domain.c index 2bc695c597..f5dfadd700 100644 --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -40,6 +40,7 @@ int xc_domain_create(xc_interface *xch, uint32_t *pdomid, return err; *pdomid = (uint16_t)domctl.domain; + *config = domctl.u.createdomain; return 0; }